Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: Telephony /
Chapter 1 - Introduction to Telephony on the Macintosh / Telephone Manager Initialization Reference
Data Structures


Feature List Structure

When an application calls TELOtherFeatureList to get a list of network-switch features that can be accessed without passing any tool-specific parameters, the telephone tool returns a pointer to a linked list of feature list structures that describe those features. The feature list structure is defined by the FeatureList data type.

struct FeatureList {
   short                   featureID;
   StringPtr               featureName;
   short                   handleType;
   struct FeatureList      *nextFeature;
};
typedef struct FeatureList FeatureList;
typedef FeatureList *FeatureListPtr;
Field Description
featureID
A tool-defined value that identifies the feature.
featureName
A pointer to the name associated with the feature.
handleType
The type of handle you must access when implementing the feature. See "Handle Types" on page 1-23 for a description of the available handle types.
nextFeature
A pointer to the next item in the feature list. A nil value indicates that there are no more features.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help